﻿using Newtonsoft.Json;
using Pay.Core;
using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO
{
    /// <summary>
    /// 用户邀请记录
    /// </summary>
    [Serializable]
    [JsonObject(MemberSerialization.OptOut)]
    public class user_invitation_his_dto
    {
        /// <summary>
        /// 历史记录Id
           /// </summary>
        public long id { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public long user_id { get; set; }

        /// <summary>
        /// 受邀请人的用户Id
        /// </summary>
        public long invited_user_id { get; set; }

        /// <summary>
        /// 邀请码
        /// </summary>
        public string invitation_code { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime create_time { get; set; }

        /// <summary>
        /// 被邀请人姓名
        /// </summary>
        public string account_name { get; set; }

        /// <summary>
        /// 被邀请人身份证
        /// </summary>
        public string id_card { get; set; }

        /// <summary>
        /// 被邀请用户信息
        /// </summary>
        public virtual merchant_dto merchant { get; set; }
    }

}
